package com.ccjq.spring.version.four.webmvc.domain;

import java.io.Serializable;

/**
 * describe: 用户实体数据模型
 *
 * @author xugang
 * @date 2019/1/15 11:44
 */
public class User implements Serializable {
    private static final long serialVersionUID = -8472480911779783802L;

    private String username; // 用户名
    private String password; // 密码
    private String nickname; // 昵称

    public User() {
    }

    public User(String username, String password, String nickname) {
        this.username = username;
        this.password = password;
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
}
